<#assign s=JspTaglibs["/WEB-INF/tld/struts-tags.tld"] />
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<#import "/WEB-INF/tpl/public/DetailHead.ftl" as dHead> <@dHead.detailHead title="角色管理">
<link rel="stylesheet" type="text/css" href="${c}/css/${USER_SESSION.theme}/ui.jqgrid.css" />
<script language="javascript" src="${c}/js/ui/i18n/grid.locale-cn.js"></script>
<script language="javascript" src="${c}/js/ui/jquery.jqGrid.min.js"></script>
<script language="javascript" src="${c}/js/ui/jquery.ui.accordion.min.js"></script>
<script language="javascript" src="${c}/js/oa/system/role-edit.js"></script>
</@dHead.detailHead>
<body>

<#import "/WEB-INF/tpl/public/DetailContent.ftl" as dc>
<@dc.detailContent title="角色设置">
<@s.form id="roleForm" name="form1" action="saveRole.action" method="post">
<table align="center" width="100%">
	<tr>
		<td colspan="3" class="subtitle">角色信息</td>
		<@s.hidden name="edit" id="edit_flag" Class="required"/>
		<#if edit==true><@s.hidden name="role.role_id" id="role_id" Class="required"/></#if>
	</tr>
	<tr>
		<td width="15%" class="label">角色名称(<font color="red">*</font>):</td>
		<td><@s.textfield name="role.role_name"
		id="role_name" maxlength="20" Class="required"/>&nbsp;<span id="role_code_msg" style="color:red"></span></td>
	</tr>
	<tr>
		<td width="15%" class="label">角色介绍:</td>
		<td><@s.textarea name="role.description" style="height:100px" id="description" maxlength="1024"/></td>
	</tr>
</table>
<div class="action" align="center">
<input type="button" value="保存" id="saveRoleButt"/>&nbsp;&nbsp;
<input type="button" value="取消" onClick="window.close()"/>&nbsp;&nbsp;</div>
</@s.form>
</@dc.detailContent>
</body>
</html>